From 6eac861fc36f6e463c18f74b02702be595bd829f Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 24 Nov 2003 14:14:02 +0000 Subject: [PATCH] printposn needs a double, not a float. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@558 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/defs.h | 2 +- gpsbabel/util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index b838212af..1ddf18c08 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -293,7 +293,7 @@ void warning(const char *, ...) ff_vecs_t *find_vec(char *, char **); void disp_vecs(void); void disp_formats(int version); -void printposn(float c, int is_lat); +void printposn(double c, int is_lat); filter_vecs_t * find_filter_vec(char *, char **); void free_filter_vec(filter_vecs_t *); diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 3e2e261aa..0ff2e6922 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -279,7 +279,7 @@ mkposn(const char *string) } void -printposn(const float c, int is_lat) +printposn(const double c, int is_lat) { char d; if (is_lat) { -- 2.30.2